package com.llyb.lease.web.admin.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.llyb.lease.common.result.Result;
import com.llyb.lease.common.result.ResultCodeEnum;
import com.llyb.lease.model.entity.SystemPost;
import com.llyb.lease.model.entity.SystemUser;
import com.llyb.lease.web.admin.mapper.SystemPostMapper;
import com.llyb.lease.web.admin.mapper.SystemUserMapper;
import com.llyb.lease.web.admin.service.SystemPostService;
import com.llyb.lease.web.admin.service.SystemUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.llyb.lease.web.admin.vo.system.user.SystemUserItemVo;
import com.llyb.lease.web.admin.vo.system.user.SystemUserQueryVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;

import java.util.List;

/**
 * @author liubo
 * @description 针对表【system_user(员工信息表)】的数据库操作Service实现
 * @createDate 2023-07-24 15:48:00
 */
@Service
public class SystemUserServiceImpl extends ServiceImpl<SystemUserMapper, SystemUser>
        implements SystemUserService {

    @Autowired
    private SystemUserMapper systemUserMapper;


    @Override
    public void customPage(Page<SystemUserItemVo> page, SystemUserQueryVo queryVo) {
        systemUserMapper.customSelectPage(page,queryVo);

    }

    @Override
    public SystemUserItemVo customGetById(Long id) {

        return  systemUserMapper.customSelectById(id);
    }

}




